<script lang="ts">
 import { replace } from "svelte-spa-router";
</script>

<div class="text-center">
    <h1>你走丢了，这里什么也没有哦</h1>
    <button on:click={()=>replace('/')} class="bg-blue-500 text-white px-4 py-2 rounded-md">返回首页</button>
</div>